#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
'''
@File    :   grace_in_eval_param.py
@Time    :   2020/11/27
@Author  :   wenke wang
@Version :   1.0
@Desc    :   GRACE缺血评估(出院)参数
'''

# here put the import lib

class GraceOutHospitalEvalParam():
    """
    GRACE缺血评估(出院)参数
    """

    def __init__(self, age, sbp, hp, scr, mim, std, ami, chf, pci):
        self.__age = int(age)
        self.__sbp = int(sbp)
        self.__hp = int(hp)
        self.__scr = str(scr)
        self.__mim = int(mim)
        self.__std = int(std)
        self.__ami = int(ami)
        self.__chf = int(chf)
        self.__pci = int(pci)
    
    @property
    def age(self):
        return self.__age
    @age.setter
    def age(self, val):
        self.__age = int(val)

    @property
    def sbp(self):
        """
        收缩压SBP
        """
        return self.__sbp
    @sbp.setter
    def sbp(self, val):
        self.__sbp = int(val)

    @property
    def hp(self):
        """
        心率HP
        """
        return self.__hp
    @hp.setter
    def hp(self, val):
        self.__hp = int(val)

    @property
    def scr(self):
        """
        血肌酐Scr(mg/dl)
        """
        return self.__scr
    @scr.setter
    def scr(self, val):
        self.__scr = str(val)

    @property
    def mim(self):
        """
        心肌坏死标志物是否升高 Myocardial injury markers
        """
        return self.__mim
    @mim.setter
    def mim(self, val):
        self.__mim = int(val)

    @property
    def std(self):
        """
        ST段下移
        """
        return self.__std
    @std.setter
    def std(self, val):
        self.__std = int(val)

    @property
    def ami(self):
        """
        心肌梗死既往史
        """
        return self.__ami
    @ami.setter
    def ami(self, val):
        self.__ami = int(val)
    
    @property
    def chf(self):
        """
        充血性心力衰竭病史
        """
        return self.__chf
    @chf.setter
    def chf(self, val):
        self.__chf = int(val)

    @property
    def pci(self):
        """
        住院期期间是否行PCI
        """
        return self.__pci
    @pci.setter
    def pci(self, val):
        self.__pci = int(val)
